package com.sdy.dataexchange.meta.service.impl;


import com.sdy.dataexchange.meta.mapper.MetadataModelLogMapper;
import com.sdy.dataexchange.meta.model.MetadataModel;
import com.sdy.dataexchange.meta.model.MetadataModelLog;
import com.sdy.dataexchange.meta.service.MetadataModelLogService;
import com.sdy.mvc.service.impl.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wyy
 * @since 2019-11-14
 */
@Slf4j
@Service
public class MetadataModelLogServiceImpl extends BaseServiceImpl<MetadataModelLog> implements MetadataModelLogService {
    @Autowired
    private MetadataModelLogMapper metadataModelLogMapper;

    @Override
    public Integer addAllModLog(List<MetadataModel> metadataModel) {
        return metadataModelLogMapper.addAllModLog(metadataModel);
    }
}
